package upload;

public class UploadInfoBean
{

	private String filePath; // 文件保存路径
	private String fileName; // 保存时的文件名
	private int threadNum; // 下载线程数

	public UploadInfoBean()
	{
		// 默认线程数为5
		this("", "", 5);
	}

	public UploadInfoBean( String path, String name, int threadNum)
	{
		filePath = path;
		fileName = name;
		this.threadNum = threadNum;

	}

	public String getFilePath()
	{
		return filePath;
	}

	public void setFilePath(String filePath)
	{
		this.filePath = filePath;
	}

	public String getFileName()
	{
		return fileName;
	}

	public void setFileName(String fileName)
	{
		this.fileName = fileName;
	}

	public int getThreadNum()
	{
		return threadNum;
	}

	public void setThreadNum(int threadNum)
	{
		this.threadNum = threadNum;
	}
}
